﻿@model Employee
@section ToolBar{}
<div class="l-m-form">
    <form mark="LedinghuoForm" action="@Url.Action("Edit")" method="POST">
        @Html.LEditorFor(m => m.EmployeeName, Html.TextBoxFor)
        @Html.LEditorFor(m => m.LoginNo, Html.TextBoxFor)
        @if (Model.EmployeeId <= 0)
        {
            @Html.LEditorFor(m => m.Password, Html.PasswordFor)
        }
        @Html.LEditorFor(m => m.Mb, Html.TextBoxFor)
        @Html.LEditorFor(m => m.Email, Html.TextBoxFor)
        @Html.LEditorFor(m => m.IsActive, Html.CheckBoxFor, new { @class = "inp-checkbox" })
        @Html.LEditorFor(m => m.Remark, Html.TextAreaFor)
        @Html.LButton("保存")
    </form>
    @Html.LPageError()
</div>
